<template>
    <div class="tabitem">
        <div>
            <!-- 图标 -->
            <div v-html="icon"></div>
            <!-- 密码选项 -->
            <div>{{title}}</div>
        </div>
    </div>
</template>

<script>
    export default {
        props:['title','icon']
    }
</script>

<style lang="scss" scoped>
.tabitem {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    border: 1px solid lightgray;
    width: 95vw;
    height: 15.625vh;
    border-radius:3%;
    div {
        display: flex;
        align-items: center;
        div {
            padding: 0 30px;
            &:nth-child(2){
                padding-bottom: 5px;
            }
        }
    }
}
</style>